
<%@page contentType="text/html;charset=UTF-8"   language="java"  %>
<%
  	String base = request.getContextPath();
%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>Market Place</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<jsp:include page="/pages/common/include.jsp" flush="true"/>
		<link rel="stylesheet" href="<%=base%>/resources/css/account/credit-card.css" />


	</head>

	<body>
		<div id="offCanvasWrapper" class="mui-off-canvas-wrap mui-draggable">
			<!--侧滑菜单部分-->
			<aside id="offCanvasSide" class="mui-off-canvas-left">
				<div id="offCanvasSideScroll" class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<jsp:include page="/pages/common/menu.jsp" flush="true" />
					</div>
				</div>
			</aside>
			<!--主界面部分-->
			<div class="mui-inner-wrap">
				<header class="mui-bar mui-bar-nav" id="headBox">
					<jsp:include page="/pages/common/top.jsp" flush="true" />
				</header>
				<header class="mui-bar mui-bar-nav GreenHeader">
					<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
				    <h1 class="mui-title">Add Credit Card</h1>
				</header>
				<div id="offCanvasContentScroll" class="mui-content mui-scroll-wrapper noHead">
					<div class="mui-scroll">
						<div class="wrap">
							<div class="credit_Add">
								<div class="item">
									<label>Card Type</label>
									<%--<input type="password" id="oldPwd" placeholder="Please enter a password ">--%>
									<select class="cardType" id="cardType" onchange="selectChange()">
										<option value="VISA">VISA</option>
										<option value="Master Card">Master Card</option>
										<option value="AE">AE</option>
										<option value="Hang Seng Enjoy PLC Card">Hang Seng Enjoy PLC Card</option>
									</select>
								</div>
								<div class="item">
									<label>Name on Card</label>
									<input type="text" id="carName" />
								</div>
								<div class="item">
									<label>Credit Card Number</label>
									<input type="text" id="carNumber" />
								</div>
								<div class="item">
									<label>Expiry Date</label>
									<select class="month" id="month" onchange="monthChange()">
										<option value="01">01</option>
										<option value="02">02</option>
										<option value="03">03</option>
										<option value="04">04</option>
										<option value="05">05</option>
										<option value="06">06</option>
										<option value="07">07</option>
										<option value="08">08</option>
										<option value="09">09</option>
										<option value="10">10</option>
										<option value="11">11</option>
										<option value="12">12</option>
									</select>
									<select class="year" id="year" onchange="yearChange()"></select>
								</div>
							</div>
							<div class="btnBox">
								<div><a href="javascript:void(0)" class="mui-btn mui-btn-block">Reset</a> </div>
								<div><a href="javascript:void(0)" class="mui-btn mui-btn-block">Add</a> </div>
							</div>
							<div class="footer" id="footer">
								<jsp:include page="/pages/common/footer.jsp" flush="true" />
							</div>
						</div>
					</div>
				</div>
				
				<!--searchbar-->
				<div class="searchBar">
					<jsp:include page="/pages/common/search.jsp" flush="true" />
				</div>
				
				<div class="rightBottom animate"></div>
				
				<!-- off-canvas backdrop -->
				<div class="mui-off-canvas-backdrop"></div>
			</div>
		</div>
		<script type="text/javascript" src="<%=base%>/resources/js/account/add-credit-card.js" ></script>
		<script type="text/javascript" src="<%=base%>/resources/js/account/credit-card.js" ></script>
		<script>
		
			//主界面和侧滑菜单界面均支持区域滚动；
			mui('#offCanvasSideScroll').scroll();
			mui('#offCanvasContentScroll').scroll();
		</script>
	</body>

</html>